<?php
include_once 'header.php';
?>
<style>
    #body {
        height: 500px;
        width: 100%;
        background-color: #d3d3d3;
    }
    #forgot {
        margin-top: 40px;
        margin-left: 50px;
        height: 400px;
        width: 700px;
        background-color: white;
    }
    #forgot_title {
        height: 40px;
        background-color: #f5e8f6;
    }
    span {
        line-height: 40px;
        margin-left: 20px;
    }
    table {
        height: 260px;
        width: 100%;
        margin-top: 30px;
        margin-left: 15px;
        font-size: 20px;
    }
    #login_re a {
        color: blue;
    }
    img {
        height: 30px;
    }
    input {
        font-size: 20px;
    }
</style>
<div id="forgot">
    <div id="forgot_title">
        <span>mybbs >> 登录</span>;
    </div>
    <form method="post" action="doaction.php?action=login">
        <table>
            <tr>
                <td>登录名:</td>
                <td><input type="text" name="username" value="zhangsan"></td>
                <td>允许字母 数字 中文 ,不能全为数字,4~12个字节</td>
            </tr>
            <tr>
                <td>密&nbsp码:</td>
                <td><input type="text" name="userpsw"  value="zhangsan"></td>
            </tr>
            <tr>
                <td>验证码:</td>
                <td><input type="text"></td>
                <td><img src="random.php" id="code" onclick="document.getElementById('code').src='random.php'"></td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" name="submit" value="登录"></td>
            </tr>
            <tr>
                <td colspan="3" id="login_re">还没来过?<a href="reginst.php">现在注册</a>&nbsp&nbsp 忘记密码?<a href="forgot_psw.php">现在找回</a></td>
            </tr>
        </table>
    </form>
</div>
<?php

include_once 'footer.php';
?>
